<template>
  <div class="flex flex-col h-full box-border overflow-auto bg-gray-100 p-3 gap-3">
    <div class="rounded bg-white shadow-sm flex flex-col justify-start">
      <div class="w-full p-3 flex flex-col">
        <p><i class="fa fa-map" />&nbsp;每日高光地图：</p>
        <HighlitedMap />
      </div>
    </div>
    <div class="flex flex-row gap-3">
      <div class="flex-1 rounded bg-white shadow-sm flex flex-col justify-start">
        <div class="w-full p-3 flex flex-col">
          <p><i class="fa fa-server" />&nbsp;当前在线服务器：</p>
          <PB2CurrentServers />
        </div>
      </div>
      <div class="w-[300px] rounded bg-white shadow-sm flex flex-col justify-start">
        <div class="w-full p-3 flex flex-col">
          <p><i class="fa fa-qq" />&nbsp;官方QQ群（含外服）：</p>
          <QQGroup />
        </div>
        <div class="w-full p-3 flex flex-col">
          <p><i class="fa fa-link" />&nbsp;友情链接：</p>
          <ExtraLinks />
        </div>
      </div>
    </div>
    <div class="rounded bg-white shadow-sm flex flex-col justify-start">
      <div class="w-full p-3 flex flex-col">
        <p>
          <i class="fa fa-user-circle" />&nbsp;当前在线服务器信息：（需要鹳狸猿权限）
        </p>
        <PB2CurrentServersNew />
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { onMounted, ref } from "vue";
import PB2CurrentServers from "./PB2CurrentServers/index.vue";
import PB2CurrentServersNew from "./PB2CurrentServersNew/index.vue";
import HighlitedMap from "./HighlitedMap/index.vue";
import QQGroup from "./QQGroup/index.vue";
import ExtraLinks from "./ExtraLinks/index.vue";

let tabValue = ref("SH");
onMounted(() => {});
</script>